/*
Filename:    sctp_one_to_one_connection.h
Author:      Erik Öjebo
Date:        2009-01-10
Description: Represents an SCTP one-to-one connection.
Notes:       Can only be instantiated with an existing socket currently.
*/

#ifndef SCTP_ONE_TO_ONE_CONNECTION_H_
#define SCTP_ONE_TO_ONE_CONNECTION_H_

#include "address.h"
#include <vector>
#include "sctp_connection.h"

class SctpOneToOneConnection : public SctpConnection
{
public:
    // Constructor for creating a connection from an already created socket.
    SctpOneToOneConnection(int socketFd);

    // Sends a message.
    ssize_t send(void const * const buffer, size_t size,
            unsigned int streamNumber = 0) const;
private:

};

#endif /* SCTP_ONE_TO_ONE_CONNECTION_H_ */
